<!--87滚动轴承游隙计算-->
<template>
 <div class="sum" style="width: 100%;height: 100%">
   <a-row class="data_container" style="width: 100%;height: 70%;margin:5px;border-radius: 3px;">
     <a-row class="input_title" style="height: 4%;width: 100%;background: #D7D7D7;border-radius: 3px;">
       输入参数
     </a-row>
     <a-row class="data_container" style="width: 100%;height: 64%;margin:5px;border-radius: 3px;">
       <a-row style="background: #D7D7D7;width: 100%;height: 5%;border-radius: 3px;">
         参数
       </a-row>
       <a-row style=";width: 100%;height: 8%;">
         <a-col :span="8" style="height: 100%;">
           <div style="height: 100%;width: 100%;position: relative;">
               <a-row style="height: 100%;width: 100% ;position: absolute;">
                 <a-col :span="8" style="height: 100%;text-align: right;margin-right: 0px;overflow: hidden;display: flex; align-items: center;">
                   <label style="margin-right: 10px;height: 100%;width: 100%;overflow: hidden;padding-top: 5px">轴承分类</label>
                 </a-col>
                 <a-col :span="16" style="height: 100%;text-align: left;overflow: hidden;padding-top: 5px">
                   <select style="margin-left: 10px" v-model="input_data.aa" v-on:click="xz2">
                     <option value="1">滚子轴承</option>
                     <option value="2">球轴承</option>
                   </select>
                 </a-col>
               </a-row>
           </div>
         </a-col>
         <a-col :span="8" style="height: 100%;">
           <a-row style="height: 100%;width: 100% ;position: absolute;">
             <a-col :span="8" style="height: 100%;text-align: right;margin-right: 0px;overflow: hidden;display: flex; align-items: center;">
               <label style="margin-right: 10px;height: 100%;width: 100%;overflow: hidden;padding-top: 5px">轴承类型</label>
             </a-col>
             <a-col :span="16" style="height: 100%;text-align: left;overflow: hidden;padding-top: 5px">
               <select style="margin-left: 10px;width: 50px" v-model="input_data.bb" v-on:click="xz1">
                 <option>0</option>
                 <option>1</option>
                 <option>2</option>
                 <option>3</option>
                 <option>4</option>
                 <option>5</option>
                 <option>6</option>
                 <option>7</option>
               </select>
             </a-col>
           </a-row>
         </a-col>
         <a-col :span="8" style="height: 100%;">
           <a-row style="height: 100%;width: 100% ;position: absolute; " v-if="yc1">
             <a-col :span="8" style="height: 100%;text-align: right;margin-right: 0px;overflow: hidden;display: flex; align-items: center;">
               <label style="margin-right: 10px;height: 100%;width: 100%;overflow: hidden;padding-top: 5px">轴承布置形式</label>
             </a-col>
             <a-col :span="16" style="height: 100%;text-align: left;overflow: hidden;padding-top: 5px">
               <select style="margin-left: 10px;" v-model="input_data.cc" v-on:click="xz3">
                 <option value="1">X型布置</option>
                 <option value="2">O型布置</option>
               </select>
             </a-col>
           </a-row>
         </a-col>
       </a-row>
       <a-row style="height: 87%">
         <a-col :span="8" style="height: 100%;position: relative">
           <a-row style="width: 100%;height: 100%;position: absolute;">
             <a-col :span="8" style="height: 100%;position: relative;">
               <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%">轴承内径(mm)</a-row>
                 <a-row style="height: 10%">轴承外径(mm)</a-row>
                 <a-row style="height: 10%">轴内径(mm)</a-row>
                 <a-row style="height: 10%">轴承座外径(mm)</a-row>
                 <a-row style="height: 10%">轴承内圈滚道直径(mm)</a-row>
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%">轴承外圈滚道直径(mm)</a-row>
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%">轴内内圈温度(℃)</a-row>
               </div>
             </a-col>
             <a-col :span="7" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;">
                 <a-row style="height: 10%"><span v-if="yc1">轴承左</span></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.d"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.D"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.shaft_d"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.house_D"/></a-row>
                 <a-row style="height: 10%">396</a-row>
                 <a-row style="height: 10%" ><input type="text" v-if="xuanze1" v-model="input_data.de"/></a-row>
                 <a-row style="height: 10%">450</a-row>
                 <a-row style="height: 10%" ><input type="text" v-if="xuanze2" v-model="input_data.Di"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_bin"/></a-row>
               </div>
             </a-col>
             <a-col :span="7" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center" v-if="yc1">
                 <a-row style="height: 10%">轴承右</a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.d2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.D2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.shaft_d2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.house_D2"/></a-row>
                 <a-row style="height: 10%">396</a-row>
                 <a-row style="height: 10%" ><input type="text" v-if="xuanze3" v-model="input_data.de2"/></a-row>
                 <a-row style="height: 10%">450</a-row>
                 <a-row style="height: 10%" ><input type="text" v-if="xuanze4" v-model="input_data.Di2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_bin2"/></a-row>
               </div>
             </a-col>
             <a-col :span="2" style="height: 100%;">
               <a-row style="width: 100%;height: 50%;"></a-row>
               <a-row style="width: 100%;height: 20%; overflow: hidden">
                 <form style="margin-top: 2px" >
                   <input type="radio" name="sex" value="1" v-model="radio_data1" v-on:click="dianji1">自动<br>
                   <input type="radio" name="sex" value="2" style="margin-top: 7px" v-model="radio_data1" v-on:click="dianji2">手动<br>
                 </form>
               </a-row>
               <a-row style="width: 100%;height: 20%;overflow: hidden">
                 <form style="margin-top: 2px" >
                   <input type="radio" name="male" value="1" v-model="radio_data2" v-on:click="dianji3">自动<br>
                   <input type="radio" name="male" value="2" style="margin-top: 7px" v-model="radio_data2" v-on:click="dianji4">手动<br>
                 </form>
               </a-row>
               <a-row style="width: 100%;height: 10%;"></a-row>
             </a-col>
           </a-row>
         </a-col>
         <a-col :span="8" style="height: 100%;">
           <a-row style="width: 100%;height: 100%;position: absolute;">
             <a-col :span="8" style="height: 100%;margin-bottom: 2px;position: relative;">
               <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%">轴承外圈温度(℃)</a-row>
                 <a-row style="height: 10%">轴温度(℃)</a-row>
                 <a-row style="height: 10%">轴承座温度(℃)</a-row>
                 <a-row style="height: 10%">环境温度(℃)</a-row>
                 <a-row style="height: 10%">轴承跨距(mm)</a-row>
                 <a-row style="height: 10%">接触角(°)</a-row>
                 <a-row style="height: 10%">轴弹性模量(MPa)</a-row>
                 <a-row style="height: 10%">轴承弹性模量(MPa)</a-row>
                 <a-row style="height: 10%">轴承座弹性模量(MPa)</a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;">
                 <a-row style="height: 10%"><span v-if="yc1">轴承左</span></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_bout"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_shaft"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_house"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_env"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.shaft_L"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.contact_angle"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_shaft"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_bearing"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_house"/></a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center" v-if="yc1">
                 <a-row style="height: 10%">轴承右</a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_bout2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_shaft2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_house2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.t_env2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.shaft_L2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.contact_angle2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_shaft2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_bearing2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.E_house2"/></a-row>
               </div>
             </a-col>
           </a-row>
         </a-col>
         <a-col :span="8" style="height: 100%;">
           <a-row style="width: 100%;height: 100%;position: absolute;">
             <a-col :span="8" style="height: 100%;margin-bottom: 2px;position: relative;">
               <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%">轴泊松比</a-row>
                 <a-row style="height: 10%">轴承泊松比</a-row>
                 <a-row style="height: 10%">轴承座泊松比</a-row>
                 <a-row style="height: 10%">轴热膨胀系数(um/(m.℃)</a-row>
                 <a-row style="height: 10%">轴承热膨胀系数(um/(m.℃)</a-row>
                 <a-row style="height: 10%;font-size: 13.5px">轴承座热膨胀系数(um/(m.℃)</a-row>
                 <a-row style="height: 10%">系数YO</a-row>
                 <a-row style="height: 10%">期望径向工作游隙(mm)</a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;">
                 <a-row style="height: 10%"><span v-if="yc1">轴承左</span></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_shaft"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_bearing"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_house"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.a_shaft"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_bearing"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_house"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.Y0"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.operating_clearance_aim"/></a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center" v-if="yc1">
                 <a-row style="height: 10%">轴承右</a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_shaft2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_bearing2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_house2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.a_shaft2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_bearing2"/></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.v_house2"/></a-row>
                 <a-row style="height: 10%"></a-row>
                 <a-row style="height: 10%"><input type="text" v-model="input_data.operating_clearance_aim2"/></a-row>
               </div>
             </a-col>
           </a-row>
         </a-col>
       </a-row>
     </a-row>
     <a-row class="data_container" style="height: 30%;width: 100%;margin:5px;border-radius: 3px">
       <a-row style="width: 100%;height: 12%;background: #D7D7D7;border-radius: 3px">偏差</a-row>
       <a-row style="width: 100%;height: 88%;">
         <a-col :span="12" style="height: 100%;">
           <a-row style="width: 100%;height: 100%;position: absolute;">
             <a-col :span="8" style="height: 100%;position: relative;">
               <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                 <a-row style="height: 18%;"></a-row>
                 <a-row style="height: 20%">轴的上偏差(mm)</a-row>
                 <a-row style="height: 20%">轴的下偏差(mm)</a-row>
                 <a-row style="height: 20%">轴承内圈的上偏差(mm)</a-row>
                 <a-row style="height: 22%">轴承内圈的下偏差(mm)</a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;">
                 <a-row style="height: 18%;"><span v-if="yc1">轴承左</span></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Ts_upper"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text"  v-model="input_data.Ts_lower"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text"  v-model="input_data.Tbi_upper"/></a-row>
                 <a-row style="height: 22%"><input style="width: 50%;" type="text"  v-model="input_data.Tbi_upper"/></a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;" v-if="yc1">
                 <a-row style="height: 18%;"><span >轴承右</span></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Ts_upper2"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text"  v-model="input_data.Ts_lower2"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text"  v-model="input_data.Tbi_upper2"/></a-row>
                 <a-row style="height: 22%"><input style="width: 50%;" type="text"  v-model="input_data.Tbi_upper2"/></a-row>
               </div>
             </a-col>
           </a-row>
         </a-col>
         <a-col :span="12" style="height: 100%;">
           <a-row style="width: 100%;height: 100%;position: absolute;padding-bottom: 3px">
             <a-col :span="8" style="height: 100%;margin-bottom: 2px;position: relative;">
               <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                 <a-row style="height: 18%"></a-row>
                 <a-row style="height: 20%">轴承外圈的上偏差(mm)</a-row>
                 <a-row style="height: 20%">轴承外圈的下偏差(mm)</a-row>
                 <a-row style="height: 20%">轴承座上偏差(mm)</a-row>
                 <a-row style="height: 22%">轴承座下偏差(mm)</a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;">
                 <a-row style="height: 18%"><span v-if="yc1">轴承左</span></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Tbo_upper"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Tbo_lower"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Th_upper"/></a-row>
                 <a-row style="height: 22%"><input style="width: 50%;" type="text" v-model="input_data.Th_lower"/></a-row>
               </div>
             </a-col>
             <a-col :span="8" style="height: 100%;">
               <div style="height: 100%;width: 100%;text-align: center;" v-if="yc1">
                 <a-row style="height: 20%"><span >轴承右</span></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Tbo_upper2"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Tbo_lower2"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Th_upper2"/></a-row>
                 <a-row style="height: 20%"><input style="width: 50%;" type="text" v-model="input_data.Th_lower2"/></a-row>
               </div>
             </a-col>
           </a-row>
         </a-col>
       </a-row>
     </a-row>
   </a-row>
   <a-row class="data_container" style="width: 100%;height: 30%;margin-left: 5px">
     <a-row style="height: 10%;width: 100%;background: #D7D7D7;border-radius: 3px;">
       输出结果
     </a-row>
        <a-row style="width: 100%;height: 90%;position: absolute;padding-bottom: 3px">
          <a-row style="width: 100%;height: 75%;">
            <a-col :span="7" style="height: 100%;margin-bottom: 2px;position: relative;">
              <div style="height: 100%;width: 100%;text-align: right;position: absolute;right: 10px;overflow: hidden">
                <a-row style="height: 20%;"></a-row>
                <a-row style="height: 20%" v-if="yc2"><label>初始径向游隙(配合引起的径向游隙) (mm)</label></a-row>
                <a-row style="height: 20%" v-if="yc3">初始轴向游隙(配合引起的径向游隙转到轴向)(mm)</a-row>
                <a-row style="height: 20%" v-if="yc2"><label >安装径向游隙(温升引起的径向游隙)(mm)</label></a-row>
                <a-row style="height: 20%" v-if="yc3">安装轴向游隙(温升引起的径向游隙转到轴向)(mm)</a-row>

              </div>
            </a-col>
            <a-col :span="7" style="height: 100%;">
              <div style="height: 100%;width: 100%;text-align: center;">
                <a-row style="height: 20%;"><span v-if="yc1">轴承左</span></a-row>
                <a-row style="height: 20%" v-if="yc2"><label>{{result_data.result01}}</label></a-row>
                <a-row style="height: 20%" v-if="yc3"><label>{{result_data.result02}}</label></a-row>
                <a-row style="height: 20%" v-if="yc2"><label>{{result_data.result03}}</label></a-row>
                <a-row style="height: 20%" v-if="yc3"><label>{{result_data.result04}}</label></a-row>
              </div>
            </a-col>
            <a-col :span="7" style="height: 100%;">
              <div style="height: 100%;width: 100%;text-align: center;" v-if="yc1">
                <a-row style="height: 20%;"><span>轴承右</span></a-row>
                <a-row style="height: 20%" v-if="yc2"><label>{{result_data.result08}}</label></a-row>
                <a-row style="height: 20%" v-if="yc3"><label>{{result_data.result09}}</label></a-row>
                <a-row style="height: 20%" v-if="yc2"><label>{{result_data.result10}}</label></a-row>
                <a-row style="height: 20%" v-if="yc3"><label>{{result_data.result11}}</label></a-row>

              </div>
            </a-col>
            <a-col :span="3" style="height: 100%">
              <button style="width: 50%;margin-top: 20px;height: 20%;" v-on:click="reseve">计算</button>
            </a-col>
          </a-row>
          <a-row style="width: 100%;height: 25%;">
            <a-col :span="7" style="height: 100%;text-align: right;position: relative;">
              <div style="height: 100%;width: 100%;position: absolute;right: 10px;">
                <a-row style="height: 30%" v-if="yc1"><label >温升引起的轴向游隙变化量</label></a-row>
                <a-row style="height: 40%;" v-if="yc1"><labeL style="padding-bottom: 5px" >间隔套总磨削量(mm)</labeL></a-row>
                <a-row style="height: 30%;" v-if="yc2"><label>温升引起轴的相对伸长量</label></a-row>
              </div>

            </a-col>
            <a-col :span="14" style="height: 100%; text-align: center">
              <a-row style="height: 30%" v-if="yc1"><label>{{result_data.result12}}</label></a-row>
              <a-row style="height: 40%" v-if="yc1"><label style="padding-bottom: 5px">{{result_data.result13}}</label></a-row>
              <a-row style="height: 30%;" v-if="yc2"><label>{{result_data.result14}}</label></a-row>
            </a-col>
            <a-col :span="3" style="height: 100%;"></a-col>
          </a-row>

        </a-row>
   </a-row>
 </div>
</template>

<script>
import {module_bearing_clearance} from "@/api/file";

export default {
name: "module_bearing_clearance",
  created() {
    document.title = '滚动轴承游隙计算'
    this.$store.state.file.key = 87
  },
  data(){
    return{
      radio_data1:'2',
      radio_data2:'2',
      xuanze1:true,
      xuanze2:true,
      xuanze3:true,
      xuanze4:true,
      bb:'1',
      yc1:false,
      yc2:true,
      yc3:true,
      result_data:{
        result01:'',
        result02:'',
        result03:'',
        result04:'',
        result05:'',
        result06:'',
        result07:'',
        result08:'',
        result09:'',
        result10:'',
        result11:'',
        result12:'',
        result13:'',
        result14:'',
      },
      input_data:this.$store.state.file.dataList[87]
    }
  },
  methods:{
    reseve(){
      module_bearing_clearance(this.input_data).then(res=>{
        if(res.length==5){
          this.result_data.result01=res[0].result;
          this.result_data.result02=res[1].result;
          this.result_data.result03=res[2].result;
          this.result_data.result04=res[3].result;
          this.result_data.result14=res[4].result;
        }
        if(res.length==6){
          this.result_data.result02=res[0].result;
          this.result_data.result09=res[1].result;
          this.result_data.result04=res[2].result;
          this.result_data.result11=res[3].result;
          this.result_data.result12=res[4].result;
          this.result_data.result13=res[5].result;
        }
        if(res.length==3){
          this.result_data.result01=res[0].result;
          this.result_data.result03=res[1].result;
          this.result_data.result14=res[2].result;
        }
      }).catch(err=>{
        console.log(err)
      })
    },
    dianji1(){
      this.input_data.ee=1;
      this.xuanze1=false;
      this.xuanze3=false;
    },
    dianji2(){
      this.input_data.ee=2;
      this.xuanze1=true;
      this.xuanze3=true;
    },
    dianji3(){
      this.input_data.ff=1;
      this.xuanze2=false;
      this.xuanze4=false;
    },
    dianji4(){
      this.input_data.ff=2;
      this.xuanze2=true;
      this.xuanze4=true;
    },
    xz1(){
          this.result_data.result01='';
          this.result_data.result02='';
          this.result_data.result03='';
          this.result_data.result04='';
          this.result_data.result05='';
          this.result_data.result06='';
          this.result_data.result07='';
          this.result_data.result08='';
          this.result_data.result09='';
          this.result_data.result10='';
          this.result_data.result11='';
          this.result_data.result12='';
          this.result_data.result13='';
          this.result_data.result14='';
       if(this.input_data.bb==6||this.input_data.bb==4){
         this.yc1=true;
         this.yc2=false;
       }
       else{
         this.yc1=false;
         this.yc2=true;
       }
       if((this.input_data.bb>=1&&this.input_data.bb<=3)||this.input_data.bb==5){
         this.yc3=true;
       }
      if(this.input_data.bb==0||this.input_data.bb==7) {
         this.yc3=false;
       }
      if(this.input_data.bb==4||this.input_data.bb==6) {
        this.yc3=true;
      }
    },
    xz2(){
      this.result_data.result01='';
      this.result_data.result02='';
      this.result_data.result03='';
      this.result_data.result04='';
      this.result_data.result05='';
      this.result_data.result06='';
      this.result_data.result07='';
      this.result_data.result08='';
      this.result_data.result09='';
      this.result_data.result10='';
      this.result_data.result11='';
      this.result_data.result12='';
      this.result_data.result13='';
      this.result_data.result14='';
    },
    xz3(){
      this.result_data.result01='';
      this.result_data.result02='';
      this.result_data.result03='';
      this.result_data.result04='';
      this.result_data.result05='';
      this.result_data.result06='';
      this.result_data.result07='';
      this.result_data.result08='';
      this.result_data.result09='';
      this.result_data.result10='';
      this.result_data.result11='';
      this.result_data.result12='';
      this.result_data.result13='';
      this.result_data.result14='';
    }
  }
}
</script>

<style scoped>
li{
  margin-bottom: -3px;
  margin-right: 10px;
  height: 30px;
}
input{
  height: 21px;
  text-align:center;
  width: 70%;
}
.data_container{
  border: 0.5px solid rgba(231, 231, 231, 0.486);
  border-radius: 5px;
  box-shadow:2px 2px 3px #aaaaaa;
}
</style>